﻿//        Another Demo from Andy L. & MissedMemo.com
// Borrow whatever code seems useful - just don't try to hold
// me responsible for any ill effects. My demos sometimes use
// licensed images which CANNOT legally be copied and reused.

using System.Windows;
using System.Collections.ObjectModel;

using MissedMemo.MeatAndCheeseDisc.OrderEntryService.OrderProcessing;


namespace MissedMemo.MeatAndCheeseDisc.OrderEntry
{
    public partial class App : Application
    {
        private static readonly ObservableCollection<Order> _orders = new ObservableCollection<Order>();

        public static ObservableCollection<Order> OrderCollection
        {
            get { return _orders; }
        }
        

        // Apply updated look for all embedded WINDOWS FORMS controls
        protected override void OnStartup( StartupEventArgs e )
        {
            base.OnStartup( e );

            System.Windows.Forms.Application.EnableVisualStyles();
        }
    }
}
